FROM h1tx-registry-vpc.cn-hangzhou.cr.aliyuncs.com/hytxops/python:3.8.5

WORKDIR /apps/h1tx_ops_platform/
COPY . /apps/h1tx_ops_platform/
COPY ./docker/supervisor.d/*.conf /etc/supervisor/conf.d/
RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/

CMD ['/usr/bin/supervisord', '-n', '-c', '/etc/supervisor/supervisord.conf']



